<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<form action="<%=request.getContextPath()%>/CommentServlet"
		method="post">
		新闻标题:<input type="text" name="title"> 新闻内容
		<textarea id="contentId" rows="8" cols="90" placeholder="文明上网"
			name="content"></textarea>
		作者:<input type="text" name="author"> 来源:<input type="text"
			name="resource"> <input type="submit" value="提交">
	</form>

</body>
</html>